package com.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;


@Data
@Document(indexName = "young",type = "girl",shards = 1,replicas = 0,refreshInterval = "-1")
public class Girl {
    @Id
    private int id;
    @Field
    private String name;
    @Field
    private String age;
    @Field
    private String love;
    @Field
    private String ass;
    @Field
    private String milk;
}
